<%@ page import="com.useeinfo.oa.modules.security.util.SessionKeyUtils" %>
<%@ page import="com.useeinfo.oa.modules.security.enums.OperationRoleEnum" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<li>
    <%if (!OperationRoleEnum.admin.getCode().equals(SessionKeyUtils.getSessionUser(request).getOperationRole())) { %>
    <a href="javascript:" onclick="vLayuiUtil.openLayerWindow('changeEnterprise', '<c:url value="/web/admin/enterprise/changeEnterprise.action"/>','切换企业')">
        <i class="fa icon-home"></i> 当前企业：
        <%=SessionKeyUtils.getSessionEnterprise(request).getEnterpriseName() %>
    </a>
    <%} %>

    <div class="hide">
        切换
    </div>
</li>

